#include <stdio.h>
#include <stdbool.h>
bool canConstruct(char* ransomNote, char* magazine) {
    int frequency[256] = { 0 }; 

    for (int i = 0; magazine[i] != '\0'; i++) {
        frequency[magazine[i]]++;
    }

    for (int i = 0; ransomNote[i] != '\0'; i++) {
        if (--frequency[ransomNote[i]] < 0) {
            return false;
        }
    }

    return true;
}



int main()
{
	return 0;
}